package com.eudon.genius.api.core.example;

import javax.validation.constraints.Email;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 更新用户请求
 *
 * @author eudon
 * @since 2025/9/25
 */
public class UpdateUserRequest {
    
    /**
     * 邮箱地址
     */
    @Email(message = "邮箱格式不正确")
    private String email;
    
    /**
     * 手机号码
     */
    private String phone;
    
    /**
     * 真实姓名
     */
    private String realName;
    
    /**
     * 用户状态
     */
    private UserStatus status;
    
    /**
     * 用户角色列表
     */
    private List<String> roles;
    
    /**
     * 用户配置信息
     */
    private UserProfile profile;
    
    // Getters and Setters
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    
    public String getRealName() { return realName; }
    public void setRealName(String realName) { this.realName = realName; }
    
    public UserStatus getStatus() { return status; }
    public void setStatus(UserStatus status) { this.status = status; }
    
    public List<String> getRoles() { return roles; }
    public void setRoles(List<String> roles) { this.roles = roles; }
    
    public UserProfile getProfile() { return profile; }
    public void setProfile(UserProfile profile) { this.profile = profile; }
}